package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 充值方式对象 sys_novel_pay
 * 
 * @author lcn
 * @date 2022-11-14
 */
public class SysNovelPay extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 支付名称 */
    @Excel(name = "支付名称")
    private String payName;

    /** 开启状态 1=正常 2=关闭 */
    @Excel(name = "开启状态 1=正常 2=关闭")
    private String payStatus;

    /** APPID */
    @Excel(name = "APPID")
    private String payAppId;

    /** 商户私钥 */
    @Excel(name = "商户私钥")
    private String payPrivateKey;

    /** 商户公钥 */
    @Excel(name = "商户公钥")
    private String payPublicKey;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date payAddtime;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setPayName(String payName) 
    {
        this.payName = payName;
    }

    public String getPayName() 
    {
        return payName;
    }
    public void setPayStatus(String payStatus) 
    {
        this.payStatus = payStatus;
    }

    public String getPayStatus() 
    {
        return payStatus;
    }
    public void setPayAppId(String payAppId) 
    {
        this.payAppId = payAppId;
    }

    public String getPayAppId() 
    {
        return payAppId;
    }
    public void setPayPrivateKey(String payPrivateKey) 
    {
        this.payPrivateKey = payPrivateKey;
    }

    public String getPayPrivateKey() 
    {
        return payPrivateKey;
    }
    public void setPayPublicKey(String payPublicKey) 
    {
        this.payPublicKey = payPublicKey;
    }

    public String getPayPublicKey() 
    {
        return payPublicKey;
    }
    public void setPayAddtime(Date payAddtime) 
    {
        this.payAddtime = payAddtime;
    }

    public Date getPayAddtime() 
    {
        return payAddtime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("payName", getPayName())
            .append("payStatus", getPayStatus())
            .append("payAppId", getPayAppId())
            .append("payPrivateKey", getPayPrivateKey())
            .append("payPublicKey", getPayPublicKey())
            .append("payAddtime", getPayAddtime())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
